package com.ganzi.ganziserver.service;

import com.ganzi.ganziserver.core.FanCollect;
import com.ganzi.ganziserver.core.FanInformation;
import com.ganzi.ganziserver.core.SchoolInformation;
import com.ganzi.ganziserver.core.TempSchool;

import java.util.List;

public interface SchoolInformationService {

    public List<SchoolInformation> findAllSchoolInfoemation();
    public SchoolInformation findSchoolInfoemationById(long sid);
    public List<Long> findSchoolByUserId(long uid);
    public List<FanInformation> findFanBySchoolId(long sid);
    public void addFan(FanInformation fan)throws Exception;
    public void updateFan(FanInformation fan)throws Exception;
    public void addSchool(SchoolInformation school)throws Exception;
    public void updateSchool(SchoolInformation school)throws Exception;
    public void addCollection(FanCollect collect)throws Exception;
    public List<Long> getAllSchoolId()throws Exception;
    public List<FanCollect> findCollection(int state) throws Exception;
    public int findCollectionCount(int state) throws Exception;
    public List<TempSchool> getAllSchoolById(long id) throws Exception;
}
